package com.aegean.CommercialHotelBookSystem.book.dao;

import java.util.List;
import java.util.Map;

import org.hibernate.Session;

import com.aegean.CommercialHotelBookSystem.model.Book;
import com.aegean.CommercialHotelBookSystem.model.BookDetail;
import com.aegean.CommercialHotelBookSystem.model.Customer;
import com.aegean.CommercialHotelBookSystem.model.Room;
import com.aegean.CommercialHotelBookSystem.model.component.BookRoomDetail;

public interface IBookDao {
	public List<Book> searchBooks(String book_Time, String hotel_Name,
			String user_Name);
	public Session getSession();
	public void closeSession();
	public List<BookRoomDetail> searchBookDetails(int book_Id);
	 public boolean accessBook(String book_Id,List<BookRoomDetail> bookDetails);
	 public boolean defalseBook(String book_Id);
	 public Customer searchCustomer(String book_Id);
}
